#ifndef _SCORE_LAYER_H_
#define _SCORE_LAYER_H_

#include "cocos2d.h"

USING_NS_CC;

enum ScoreType
{
  DISTANCE,
  PROP_COUNT,
};

class ScoreLayer : public CCLayer
{
  public:
    ~ScoreLayer();
    bool init();
    static ScoreLayer * create();
    void refreshScore(ScoreType type, int value);
    void restart();
  private:
    ScoreLayer();
    CCLabelTTF * pDistanceLabel;
    CCLabelTTF * pPropCountLabel;
    void setDistance(int distance);
    void setPropCount(int count);
};

#endif
